package List;

import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.concurrent.CountDownLatch;

/**
 * @Author: Cjj
 * 线程
 */
public class Fail {
    //使用线程安全的CopOnWriteArrayList避免ConcurrentModificationException异常
    List<Integer> list=new CopyOnWriteArrayList<Integer>();
    CountDownLatch countDownLatch= new CountDownLatch(2);



}
